﻿using Microsoft.EntityFrameworkCore;
using Sheep_Breeding.Domain;


namespace Sheep_Breeding.Infeartructure
{
    /// <summary>
    /// 上下文
    /// </summary>
    public class EFDbContext : DbContext
    {
        public EFDbContext(DbContextOptions options) : base(options)
        {
        }


        /// <summary>
        /// 羊场管理
        /// </summary>
        public DbSet<Sheepfarm_management> Sheepfarm_Managements { get; set; }
        /// <summary>
        /// 羊场规模
        /// </summary>
        public DbSet<Thescalethsheepfarm> Thescalethsheepfarms { get; set; }
    }
}
